package com.kaka.mapper;

import com.kaka.javabean.Student;

import java.util.List;
import java.util.Map;

public interface StudentMapper {

    List<Student> selectAll();

    Student selectById(int id);

    Student selectByNameAndId(String name, int id);

    Student selectByStudent(Student student);

    List<Student> selectByIdList(List<Integer> list);

    List<Student> selectByMap(Map<String, String> map);

    void updateNameById(String name, int id);
}
